SPAHA00402_건진환자선택[경북대학교].xrw 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAHA00402_건진환자선택[경북대학교].xrw
  4. * 설 명 : 건진환자선택[경북대학교]
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2012.10.24
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>건진환자선택</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <patinfo>
  20. <item>
  21. <pid/>
  22. <hngnm/>
  23. <rgstno1/>
  24. <rgstno2/>
  25. <orddd/>
  26. <healexamdetlnm/>
  27. <sex/>
  28. <age/>
  29. <telno/>
  30. <mpphon/>
  31. <rsltcnstdd/>
  32. <healexamflag/>
  33. <healexamdetlflag/>
  34. <rsrvdd/>
  35. <rsrvno/>
  36. <cretno/>
  37. </item>
  38. </patinfo>
  39. </main>
  40. <send>
  41. <srchhealexamflag/>
  42. <srchpnm/>
  43. <srchrgstno1/>
  44. <srchrgstno2/>
  45. <srchpid/>
  46. </send>
  47. <hidden>
  48. <patinfo>
  49. <item/>
  50. </patinfo>
  51. </hidden>
  52. <target>
  53. <srchcond/>
  54. <srchpnm/>
  55. <srchpid/>
  56. <setflag/>
  57. <desxpath/>
  58. <setyn/>
  59. </target>
  60. </root>
  61. </instance>
  62. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  66. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  67. <submission id="TRAHA00125" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/patinfo"/>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. fInit();
  71. if(checkOpener()){
  72. opener.model.makeNode("/root/temp/okflag");
  73. vOpenerID = opener.javascript.getParameter("SPAHA00402_PARAM1");
  74. vHealexamflag = opener.javascript.getParameter("SPAHA00402_PARAM2");
  75. vPid = opener.javascript.getParameter("SPAHA00402_PARAM3");
  76. vPnm = opener.javascript.getParameter("SPAHA00402_PARAM4");
  77. vRgstNo1 = opener.javascript.getParameter("SPAHA00402_PARAM5");
  78. vRgstNo2 = opener.javascript.getParameter("SPAHA00402_PARAM6");
  79. model.setValue("/root/send/srchhealexamflag" , vHealexamflag);
  80. model.setValue("/root/send/srchpid" , vPid);
  81. model.setValue("/root/send/srchpnm" , vPnm);
  82. model.setValue("/root/send/srchrgstno1" , vRgstNo1);
  83. model.setValue("/root/send/srchrgstno2" , vRgstNo2);
  84. model.setFocus("ipt_pnm");
  85. model.refresh();
  86. fGetPatList();
  87. }
  88. ]]>
  89. </script>
  90. </model>
  91. <script type="javascript">
  92. <![CDATA[
  93. var vOpenerID = "";
  94. var vHealexamflag = "";
  95. var vPid = "";
  96. var vPnm = "";
  97. var vRgstNo1 = "";
  98. var vRgstNo2 = "";
  99. function fInit(){
  100. model.removeNodeset("/root/main/patinfo/item");
  101. }
  102. /**========================================================================================================================
  103. ** 환자리스트 조회
  104. *========================================================================================================================*/
  105. function fGetPatList(){
  106. fInit();
  107. vPnm = model.getValue("/root/send/srchpnm");
  108. vRgstNo1 = model.getValue("/root/send/srchrgstno1");
  109. vPid = model.getValue("/root/send/srchpid");
  110. if(vPnm == "" && vRgstNo1 == "" && vPid == ""){
  111. messageBox("조회정보를", "C001");
  112. return;
  113. }
  114. submit("TRAHA00125");
  115. var node = instance1.selectSingleNode("/root/hidden/patinfo/item");
  116. if(node != null){
  117. model.copyNode("/root/main/patinfo", "/root/hidden/patinfo");
  118. }
  119. model.refresh();
  120. }
  121. function fSetPatinfo(){
  122. var idx = grd_patlst.row;
  123. if(idx < 1){
  124. return;
  125. }
  126. if(checkOpener()){
  127. var vDestXPath = "/root/send/srch"
  128. copyNodesetType(vDestXPath, "/root/main/patinfo/item[" + idx + "]", "replace", opener.model, model);
  129. opener.rsltcnstdd.value = grd_patlst.valueMatrix(grd_patlst.row, grd_patlst.colRef("rsltcnstdd"));
  130. opener.model.setValue("/root/temp/okflag", "ok");
  131. opener.javascript.fSearchAfterColgJudgInfo();
  132. window.close();
  133. }
  134. }
  135. ]]>
  136. </script>
  137. </xhtml:head>
  138. <xhtml:body pagewidth="910" pageheight="343" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  139. <group id="group2" style="left:0px; top:0px; width:890px; height:35px; vertical-align:top; ">
  140. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:875px; height:35px; "/>
  141. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">성명 :</caption>
  142. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:810px; top:7px; width:56px; height:22px; ">
  143. <caption>조회</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. fGetPatList();
  147. ]]>
  148. </script>
  149. </button>
  150. <line id="line13" class="line_4" style="x1:724px; y1:7px; x2:724px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  151. <input id="ipt_pnm" ref="/root/send/srchpnm" class="input_search" navindex="1" style="left:80px; top:9px; width:80px; height:19px; ">
  152. <script type="javascript" ev:event="onkeyup">
  153. <![CDATA[
  154. inputEnterKey("btn_search", "DOMActivate");
  155. ]]>
  156. </script>
  157. </input>
  158. <input id="ipt_rgstno1" ref="/root/send/srchrgstno1" class="input_search" navindex="2" format="999999" style="left:262px; top:9px; width:60px; height:19px; "/>
  159. <input id="ipt_rgstno2" ref="/root/send/srchrgstno2" class="input_search" navindex="3" format="9999999" style="left:325px; top:9px; width:60px; height:19px; ">
  160. <script type="javascript" ev:event="onkeyup">
  161. <![CDATA[
  162. inputEnterKey("btn_search", "DOMActivate");
  163. ]]>
  164. </script>
  165. </input>
  166. <caption id="caption3" class="search_name" style="left:170px; top:8px; width:86px; height:17px; ">주민번호 :</caption>
  167. <input id="ipt_pid" ref="/root/send/srchpid" class="input_search" navindex="1" style="left:485px; top:9px; width:80px; height:19px; ">
  168. <script type="javascript" ev:event="onkeyup">
  169. <![CDATA[
  170. inputEnterKey("btn_search", "DOMActivate");
  171. ]]>
  172. </script>
  173. </input>
  174. <caption id="caption4" class="search_name" style="left:395px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
  175. <button id="button1" class="btn1_letter3" navindex="4" style="left:735px; top:7px; width:68px; height:22px; ">
  176. <caption>초기화</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. model.resetInstanceNode("/root/send");
  180. model.setValue("/root/send/srchhealexamflag" , vHealexamflag);
  181. fInit();
  182. model.refresh();
  183. ]]>
  184. </script>
  185. </button>
  186. </group>
  187. <group id="group3" scroll="auto" style="left:0px; top:35px; width:890px; height:280px; ">
  188. <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:95px; height:13px; ">건진자리스트</caption>
  189. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:875px; y2:25px; "/>
  190. <datagrid id="grd_patlst" nodeset="/root/main/patinfo/item" scroll="vertical" caption="등록번호^환자성명^주민등록번호^주민등록번호^건진일자^건진구분^성별^나이^연락처^휴대번호^rsltcnstdd^healexamflag^healexamdetlflagrsrvdd^rsrvno^cretno" colsep="^" colwidth="70, 75, 60, 70, 100, 130, 38, 38, 120, 120, 10, 10, 10, 10, 10, 10" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:875px; height:245px; ">
  191. <col ref="pid" style="text-align:center; "/>
  192. <col ref="hngnm" style="text-align:center; "/>
  193. <col ref="rgstno1" style="text-align:center; "/>
  194. <col ref="rgstno2" style="text-align:center; "/>
  195. <col ref="orddd" format="yyyy/mm/dd" style="text-align:center; "/>
  196. <col ref="healexamdetlnm"/>
  197. <col ref="sex" style="text-align:center; "/>
  198. <col ref="age" style="text-align:center; "/>
  199. <col ref="telno"/>
  200. <col ref="mpphon"/>
  201. <col ref="rsltcnstdd" visibility="hidden"/>
  202. <col ref="healexamflag" visibility="hidden"/>
  203. <col ref="healexamdetlflag" visibility="hidden"/>
  204. <col ref="rsrvdd" visibility="hidden"/>
  205. <col ref="rsrvno" visibility="hidden"/>
  206. <col ref="cretno" visibility="hidden"/>
  207. <script type="javascript" ev:event="ondblclick">
  208. <![CDATA[
  209. fSetPatinfo();
  210. ]]>
  211. </script>
  212. <script type="javascript" ev:event="onaftersort">
  213. <![CDATA[
  214. grd_patlst.gridToInstance();
  215. ]]>
  216. </script>
  217. </datagrid>
  218. </group>
  219. <group id="group1" scroll="auto" style="left:0px; top:316px; width:890px; height:27px; ">
  220. <button id="btn_confirm" class="btn4_letter2" style="left:762px; top:5px; width:56px; height:22px; ">
  221. <caption>확인</caption>
  222. <script type="javascript" ev:event="DOMActivate">
  223. <![CDATA[
  224. fSetPatinfo();
  225. ]]>
  226. </script>
  227. </button>
  228. <button id="btn_cancel" class="btn4_letter2" style="left:821px; top:5px; width:56px; height:22px; ">
  229. <caption>취소</caption>
  230. <script type="javascript" ev:event="DOMActivate">
  231. <![CDATA[
  232. if(checkOpener()){
  233. opener.model.setValue("/root/temp/okflag", "");
  234. }
  235. window.close();
  236. ]]>
  237. </script>
  238. </button>
  239. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
  240. </group>
  241. </xhtml:body>
  242. </xhtml:html>